package Java0107;

import java.io.BufferedWriter;
import java.io.FileWriter;
import java.io.IOException;

public class Test08 {
    public static void main(String[] args) throws IOException {
        FileWriter fileWriter = new FileWriter("d:/person3.txt");
        BufferedWriter bufferedWriter = new BufferedWriter(fileWriter);
        for (int i = 0; i < 10; i++) {
            bufferedWriter.write("我是xxxx");

        }
        bufferedWriter.close();
        fileWriter.close();

        }


    }
